/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.co.ManagedBeans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author Animal
 */
@ManagedBean
@RequestScoped
public class indexManagedBean {
    
    private int a=1;

    /** Creates a new instance of indexManagedBean */
    public indexManagedBean() {
    }
    
    public String contactenos(){
        if(a==0)
            return "contactenos.xhtml";
        else
            return "error.xhtml";
    }
}
